﻿using System.ComponentModel.DataAnnotations;

namespace CTP.CRM.Core.SharedModel.InternalCore.Token
{
    public interface ITokenValidator
    {
        ValueTask<ValidatorResult> ValidatorAsync(string key, string token);

        ValidatorResult Validator(string key, string token);
    }
}
